#ifndef _TOOLBACKUP_H
#define _TOOLBACKUP_H

#ifdef SECUREAUTOBACKUP_EXPORTS
#define SECUREAUTOBACKUP_API __declspec(dllexport)
#else
#define SECUREAUTOBACKUP_API __declspec(dllimport)
#endif

#include <map>

#include "BackupInfo.h"
#include "ProjectInfo.h"

extern "C" {

SECUREAUTOBACKUP_API BOOL _stdcall Backup(char *prjPath,char ** selected ,int length,char *backupType,char * dependBackup,char* granularity);
//SECUREAUTOBACKUP_API void GenerateDelMap(std::map<CString, int>& delMap, ProjectInfo& projectInfo, std::list<BackupInfo*>& historyBackupList);
//SECUREAUTOBACKUP_API CString GetCurrentTimeString();

}
void GenerateDelMap(std::map<CString, int>& delMap, ProjectInfo& projectInfo, std::list<BackupInfo*>& historyBackupList);
CString GetCurrentTimeString();
void LoadSetting(CString bakprjFile,ProjectInfo& projectInfo);
//#define _TOOLBACKUP_H_DEBUG
#endif